
<!--
-->
<?php
#$category2 = D('Category')->getTree2();


#if (is_array($category2[0]["_"]) > 0)
#{
#    $category2 = $category2[0]["_"];
#}
//echo "####".$current;

#$authAry = session("user_auth");
#print_r($authAry);
#echo($authAry["uid"]);
#print_r($category2);

#$namenike = D('Member')->getNickName($authAry["uid"]);
#print_r($category);

#print_r($list);
?>


<!--
<volist name="category2" id="cate">
	<eq name="current" value="$cate['id']">
		<li class="active">
			<a href="{:U('Article/lists?category='.$cate['name'])}">
				<i class="icon-chevron-right"></i>{$cate.title}
			</a>
            <volist name="cate['_']" id="child">
                <li><a href="index">>>{$child.title}</a></li>
            </volist>
		</li>
	<else/>
		<li>
			<a href="{:U('Article/lists?category='.$cate['name'])}">
				<i class="icon-chevron-right"></i>{$cate.title}
			</a>
                <volist name="cate['_']" id="child">
                    <li><a href="index">>>{$child.title}</a></li>
                </volist>
		</li>
	</eq>
</volist>
-->

        <!--
</br>
<table cellpadding=3 cellspacing=5>
    <volist name="categoryAll" id="vo">
        <tr>
            <td >[ {$vo.create_time|date='Y-m-d H:i:s',###} ] {$vo.title} </td>
        </tr>
    </volist>
    <tr>
    </tr>
</table>
<div class="result page">{$page}</div>
</br>
        -->

<html xmlns="http://www.w3.org/1999/xhtml">
<head>

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>lists</title>

    <!--
    <link rel="stylesheet" href="__PUBLIC__/static/JqueryTreeview/jquery.treeview.css" />
    <link rel="stylesheet" href="__PUBLIC__/static/JqueryTreeview/demo/screen.css" />

    <script src="__PUBLIC__/static/JqueryTreeview/lib/jquery.js" type="text/javascript"></script>
    <script src="__PUBLIC__/static/JqueryTreeview/lib/jquery.cookie.js" type="text/javascript"></script>
    <script src="__PUBLIC__/static/JqueryTreeview/jquery.treeview.js" type="text/javascript"></script>

    <script type="text/javascript" src="__PUBLIC__/static/JqueryTreeview/demo/demo.js"></script>
    -->

</head>
<body>

<div id="main">
<ul id="navigation">
<volist name="categoryAll" id="level1">
    <li><a href="{:U('Article/lists?category='.$level1['name'])}">{$level1.title}</a>
        <ul>
            <volist name="level1['_']" id="level2">
                <li><a href="{:U('Article/lists?category='.$level2['name'])}">{$level2.title}</a>
                    <ul>
                        <volist name="level2['_']" id="level3">
                            <li><a href="{:U('Article/lists?category='.$level3['name'])}">{$level3.title}</a>
                                <ul>
                                <?php
                                //print_r($level3['_']);
                                //echo sizeof($level3['_']);
                                for ($i = 0; $i < sizeof($level3['_']); $i++)
                                {
                                    echo("<li>");
                                        ?>
                                    <a href="{:U('Article/lists?category='.$level3['_'][$i]['name'])}">{$level3['_'][$i]['title']}</a>
                                        <?php
                                    //echo($level3['_'][$i]['title']);
                                    echo("</li>");
                                }
                                ?>
                                </ul>
                            </li>
                        </volist>
                    </ul>
                </li>
            </volist>
        </ul>
    </li>
</volist>
</ul>
<br>
</div>
</body></html>

        <!--
<?php
if (is_array($category2[0]["_"]) > 0)
{
    $thisCategory = $category2[0]["_"];
}
?>
<volist name="$thisCategory" id="vo" key="n">
    <div id="tabs-{$n}">
        <volist name="vo['_']" id="child">
            <p><b>{$child.title}</b></p>
            <volist name="child['grandchild']" id="grand">
                <p style="line-height: 23px;">##{$grand.title}</p>
            </volist>
            <br />
        </volist>
    </div>
</volist>


<?php

if (is_array($categoryAll[0]["_"]) > 0)
{
    //echo (sizeof($category[0]["_"]));
        echo $categoryAll[0]["title"]."<br>";
    for ($i = 0; $i < sizeof($categoryAll[0]["_"]); $i++)
    {
        echo $categoryAll[0]["_"][$i]["title"]."<br>";

        if (is_array($categoryAll[0]["_"][$i]["_"]) > 0)
        {
            for ($i = 0; $i < sizeof($categoryAll[0]["_"]); $i++)
            {
            }
        }
    }
}


?>

-->
